package com.azt.api.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 我的项目详情,采购/设计 询价列表
 * Created by 张栋 on 2016/9/1414:11
 */
public class EnqProjDetailDto implements Serializable {
    private Integer id;
    /**
     * 询价名称
     */
    private String enquiryName;

    /**
     * 创建人id
     */
    private  Integer createUserId;

    /**
     * 1.公开发布 ;2.不公开发布
     */
    private Integer pubtype;

    /**
     * 状态 0:待审核,1:已发布,2:不通过,3:重新审核4：已关闭 5：已截止
     */
    private Integer state;


    /**
     * 是否有清单(1:没有设计清单,2:我有设计清单)
     */
    private Integer needdesign;

    /**
     * 发布时间
     */
    private Date pubdate;


    /**
     * 回复截止日期
     */
    private Date deadline;

    /**
     * 回复情况
     */
    private int quoteCount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEnquiryName() {
        return enquiryName;
    }

    public void setEnquiryName(String enquiryName) {
        this.enquiryName = enquiryName;
    }

    public Integer getPubtype() {
        return pubtype;
    }

    public void setPubtype(Integer pubtype) {
        this.pubtype = pubtype;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getPubdate() {
        return pubdate;
    }

    public void setPubdate(Date pubdate) {
        this.pubdate = pubdate;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public int getQuoteCount() {
        return quoteCount;
    }

    public void setQuoteCount(int quoteCount) {
        this.quoteCount = quoteCount;
    }

    public Integer getNeeddesign() {
        return needdesign;
    }

    public void setNeeddesign(Integer needdesign) {
        this.needdesign = needdesign;
    }

    public Integer getCreateUserId() {
        if(createUserId==null){
            return 0;
        }
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
}
